﻿@{
    ViewData["Title"] = "UpdateProduct";
}
@model OnlineStore.Models.Product

<h1>修改图书信息</h1>


<div class="container">
    <for asp-action="Update">
        <div class="form-group">
            <label asp-for="Name" class="form-label"></label>
            <input asp-for="Name" class="form-control">
        </div>
        <div class="form-group">
            <label asp-for="Price" class="form-label"></label>
            <input asp-for="Price" class="form-control">
        </div>
        <div class="form-group">
            <label asp-for="Remain" class="form-label"></label>
            <input asp-for="Remain" class="form-control">
        </div>
        <div class="form-group">
            <label asp-for="Type" class="form-label"></label>
            <input asp-for="Type" class="form-control">
        </div>
        <div class="form-group">
            <label asp-for="Description" class="form-label"></label>
            <input asp-for="Description" class="form-control">
        </div>
    </for>
</div>